Disaster Recovery

This, and subseqent documents, will attempt to avoid being procedural, as technical details can and will change, but will attempt to be conceptual with general details.
Scope we will cover includes:

  • Data backup/restore
  • Security monitoring/access
  • Power outages

Data Backup/Restore

In CMS, the restoration goal is a Restoration Data Point (RDP) of 1 month, meaning that as a goal data should be restored to no more than one month before the disaster.
Archives are not kept for data, because they present an ongoing cost for media maintenance. Devices must be kept that read the media, or media needs to be transcribed to new media, eg. CD backups need CD readers → DVD backups need DVD readers, etc.

It became prohibitively costly to maintain a tape library for the few terabytes of data that needed to be backed up.
Tangentially, we discontinued subscription for the backup software involved in running a tape library for backup.

As a result, the entire backup/restore operation is cost free, minus the ongoing cost of physical tapes.
Currently, there is zero off-site backup. All physical media is stored on-site, either in the same room as the device(s) or in an adjacent room.

Devices to Backup/Restore

The philosophy has always been to store important data centrally, and then backup the data from the central location.
This is the opposite of a distributed system where data is kept on computation nodes, and then backed up individually, which complicates restoral and data disposition.
The file server (filer) in this case is the central data location in which all important data is held.
Fortunately, it is a NetApp device, which means it can handle NDMP, a network-based data backup protocol that defines basically 3 components in any backup system:

  • Data interface
  • Tape/SCSI interface
  • File history/logging interface In this way, backup devices can be physically and geographically separate from the backup software and/or the data device to be backed up.
---
title: NDMP
---
flowchart LR
  subgraph Backup Host
    UI[Backup Software]
    Cache[(Local cache)]
  end
  subgraph File Server
    API[API gateway]
    Auth[Auth service]
    Orders[Order service]
  end
  subgraph Storage
    DB[(Orders DB)]
  end
  UI --> API
  UI --> Cache
  API --> Auth
  API --> Orders
  Orders --> DB
  Auth -. token .-> UI
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9